Variables and Datatypes
In order to use any number or information for operations like addition, substraction in java.
We need to create specialized places for them in the memory.
The places that we create are named as variables. When we store any number or information into them, we are storing data to a variable.
The type of data that we store like numbers or words are called as Data types. These define the kind of data to be stored.
For example int a=20
Here int is the integer type and a is the variable name. The data that we store into them is 20. Get the idea?
Can you create two variables,
store 2 numbers into them and find the sum of two numbers and store to a third variable?